ccR.Add_Rotation("LowLevel", "CC_Priest_LowLevel", "1-9")
function CC_Priest_LowLevel()
	-- PW:S when we have aggro
	if ccR.Player.Has.Spell(POWER_WORD_SHIELD)
	and ccR.Spell.Is.Ready(POWER_WORD_SHIELD)
	and not ccR.Player.Has.Buff(POWER_WORD_SHIELD) 
	and not ccR.Player.Has.Debuff(WEAKENED_SOUL)
	then
		for k,v in ipairs(ccR_Enemies_Within_44) do
			if ccR.Unit.Exists(v) 
			and ccR.Unit.Is.Alive(v) 
			and ccR.Unit.TargetName(v) == ccR.Player.Name() 
			then
				ccR.Cast.Spell(POWER_WORD_SHIELD)
			end
		end
	end
	-- SW:P all in combat
	ccR.Cast.Mass.Debuff(SHADOW_WORD_PAIN, "all", 40, false, 1)
	if ccR.Target.Is.Attackable() then
		-- SW:P Target
		if not ccR.Target.Has.MyDebuff(SHADOW_WORD_PAIN) and ccR.Spell.CanAttack(SHADOW_WORD_PAIN) then ccR.Cast.Debuff(SHADOW_WORD_PAIN) end
		if not ccR.Player.Is.Moving() then
			-- Smite, filler
			if ccR.Spell.CanAttack(SMITE) then ccR.Cast.Attack(SMITE) end
		end
	end
end